﻿using DevTeam;
using System;
using System.Windows.Forms;

namespace ConfExpert.Forms.SatinAlma.YeniYapi
{
    public partial class RedSebebi : XPopupForm
    {
        string sebep;

        public string Sebep
        {
            get { return sebep; }
            set { sebep = value; }
        }
        public RedSebebi()
        {
            InitializeComponent();
        }

        private void RedSebebi_Load(object sender, EventArgs e)
        {
            

            bbiReddet.ItemClick += bbiReddet_ItemClick;
        }

        void bbiReddet_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            sebep = txtSebep.Text;
            this.DialogResult = DialogResult.OK;
        }
    }
}
